Skip to main content
Version: Staging

LiveSurfaceAtm

V8 Message Definiton

METADATA

AttributeValue
Topic1000-analytics
MLink TokenSystemData
ProductSRAnalytics
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
ekey_atenum - AssetTypePRI'None'
ekey_tsenum - TickerSrcPRI'None'
ekey_tkVARCHAR(12)PRI''
ekey_yrSMALLINT UNSIGNEDPRI0
ekey_mnTINYINT UNSIGNEDPRI0
ekey_dyTINYINT UNSIGNEDPRI0
ticker_atenum - AssetType'None'underlying stock key that this option expiration attaches to
ticker_tsenum - TickerSrc'None'underlying stock key that this option expiration attaches to
ticker_tkVARCHAR(12)''underlying stock key that this option expiration attaches to
fkey_atenum - AssetType'None'future that this option expiration month written on if any
fkey_tsenum - TickerSrc'None'future that this option expiration month written on if any
fkey_tkVARCHAR(12)''future that this option expiration month written on if any
fkey_yrSMALLINT UNSIGNED0future that this option expiration month written on if any
fkey_mnTINYINT UNSIGNED0future that this option expiration month written on if any
fkey_dyTINYINT UNSIGNED0future that this option expiration month written on if any
uBidDOUBLE0underlier bid price
uAskDOUBLE0underlier ask price
yearsFLOAT0time to expiration in years
rateFLOAT0interest rate
sdivFLOAT0stock dividend borrow rate
ddivFLOAT0present value of discrete dividend stream
exTypeTINYINT UNSIGNED0exercise type of the options used to compute this surface
modelTypeTINYINT UNSIGNED0option pricing model used for price calcs
earnCntFLOAT0number of qualifying earnings events prior to expiration can be fractional from StockEarningsCalendar
earnCntAdjFLOAT0number of qualifying earnings events prior to expiration adjusted from StockEarningsCalendar LiveSurfaceTerm
axisVolRTFLOAT0axis volatility x sqrtyears used to compute xAxis usually 4m atm vol
axisFUPrcFLOAT0axis FwdUPrc fwd underlying price used to compute xAxis
moneynessTypeenum - MoneynessType'None'moneyness xAxis convention
underlierModeenum - UnderlierMode'None'underlier pricing mode Noneuse spotstock market FrontMonthuse front month future market uPrcRatio Actual use actual underlier future market
priceQuoteTypeenum - PriceQuoteType'None'Price or Vol
atmVolFLOAT0atm vol xAxis 0
atmCenFLOAT0atm vol xAxis 0 eMoveearnCntAdj censored
atmVolHistFLOAT0historical realized volatility includes eMoveHist x earnCntAdj adjustment Note that this is the default atmVol if no implied markets existed previous day
atmCenHistFLOAT0censored earnings events removed historical realized volatility Trailing periods is 2x forward time to expiration From HistoricalVolatilitywindowTypehlCenmvnnn
minAtmVolFLOAT0minimum estimated atm vol
maxAtmVolFLOAT0maximum estimated atm vol
eMoveFLOAT0implied earnings move from LiveSurfaceTerm
eMoveHistFLOAT0historical earnings move avg of trailing 8 moves From StockEarningsCalendareMoveHist
atmMoveFLOAT0fixed strike atm move from prior period
atmCenMoveFLOAT0fixed strike atm censored move from prior period
atmPhiFLOAT0surface phi xAxis 0
atmVegaFLOAT0surface vega xAxis 0
slopeFLOAT0volatility surface slope dVol dXAxis ATM xAxis0
varSwapFVFLOAT0variance swap fair value estimated by numerical integration over OTM price surface
gridTypeenum - GridType'None'gridType defines D11 U12 xAxis points spline type
minXAxisFLOAT0minimum xAxis value xAxis values to the left extrapolate horizontally
maxXAxisFLOAT0maximum xAxis value xAxis values to the right extrapolate horizontally
minCurvValueFLOAT0minimum curvature 2nd derivative of skew curve can be negative if curve is not strictly convex
minCurvXAxisFLOAT0xAxis of minimum curvature point
maxCurvValueFLOAT0maximum curvature 2nd derivative of skew curve
maxCurvXAxisFLOAT0xAxis of maximum curvature point
skewMinXFLOAT0xAxis effStrike effAxisFUPrc 10 axisVolRT effStrike strike strikeRatio effAxisFUPrc axisFUPrc symbolRatio
skewMinYFLOAT0skewMinX skewMinY are the skew curve minimum point usually a positive x value and a negative y value
skewD11FLOAT0skew D11 point volatility skew curve
skewD10FLOAT0skew D10 point
skewD9FLOAT0skew D9 point
skewD8FLOAT0skew D8 point
skewD7FLOAT0skew D7 point
skewD6FLOAT0skew D6 point
skewD5FLOAT0skew D5 point
skewD4FLOAT0skew D4 point
skewD3FLOAT0skew D3 point
skewD2FLOAT0skew D2 point
skewD1FLOAT0skew D1 point
skewC0FLOAT0central value xAxis 0 usually zero
skewU1FLOAT0skew U1 point
skewU2FLOAT0skew U2 point
skewU3FLOAT0skew U3 point
skewU4FLOAT0skew U4 point
skewU5FLOAT0skew U5 point
skewU6FLOAT0skew U6 point
skewU7FLOAT0skew U7 point
skewU8FLOAT0skew U8 point
skewU9FLOAT0skew U9 point
skewU10FLOAT0skew U10 point
skewU11FLOAT0skew U11 point
sdivD3FLOAT0sdiv D3 point
sdivD2FLOAT0sdiv D2 point
sdivD1FLOAT0sdiv D1 point
sdivU1FLOAT0sdiv U1 point
sdivU2FLOAT0sdiv U2 point
sdivU3FLOAT0sdiv U3 point
pwidthFLOAT0minimum mkt premium width
vwidthFLOAT0minimum mkt volatility width
cCntTINYINT UNSIGNED0num call strikes
pCntTINYINT UNSIGNED0num put strikes
cBidMissTINYINT UNSIGNED0number of call bid violations surface outside the market
cAskMissTINYINT UNSIGNED0number of call ask violations surface outside the market
pBidMissTINYINT UNSIGNED0number of put bid violations
pAskMissTINYINT UNSIGNED0number of put ask violations
fitAvgErrFLOAT0surface fit R2 midmarket values
fitAvgAbsErrFLOAT0mean square error midmarket values
fitMaxPrcErrFLOAT0worst case surface premium violation
fitErrXXFLOAT0okeyxx of the option with the largest fit error in this expiration
fitErrCPenum - CallPut'Call'okeycp of the option with the largest fit error in this expiration
fitErrDeFLOAT0delta of fixErrXX
fitErrBidFLOAT0bid of the option with the largest fit error
fitErrAskFLOAT0ask of the option with the largest fit error
fitErrPrcFLOAT0surface prc of the option with the largest fit error
fitErrVolFLOAT0surface vol of the option with the largest fit error
counterINT0message counter number of surface fits today
skewCounterINT0skew surface fit counter
sdivCounterINT0sdiv surface fit counter
marketSessionenum - MarketSession'None'market session this surface is from
tradeableStatusenum - TradeableStatus'None'indicates whether the surface is currently tradeable or not all server surface integrity checks pass
surfaceResultenum - SurfaceResult'None'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ekey_tk1
ekey_yr2
ekey_mn3
ekey_dy4
ekey_at5
ekey_ts6

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRAnalytics`.`MsgLiveSurfaceAtm` (
`ekey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ekey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','ESX','ANY','CXE','DXE','NXAM','NXBR','NXDUB','NXLS','NXLDN','NXML','NXMLT','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ekey_tk` VARCHAR(12) NOT NULL DEFAULT '',
`ekey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`ekey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'underlying stock key that this option expiration attaches to',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','ESX','ANY','CXE','DXE','NXAM','NXBR','NXDUB','NXLS','NXLDN','NXML','NXMLT','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'underlying stock key that this option expiration attaches to',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'underlying stock key that this option expiration attaches to',
`fkey_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'future that this option expiration month written on (if any)',
`fkey_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','ESX','ANY','CXE','DXE','NXAM','NXBR','NXDUB','NXLS','NXLDN','NXML','NXMLT','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'future that this option expiration month written on (if any)',
`fkey_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'future that this option expiration month written on (if any)',
`fkey_yr` SMALLINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'future that this option expiration month written on (if any)',
`fkey_mn` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'future that this option expiration month written on (if any)',
`fkey_dy` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'future that this option expiration month written on (if any)',
`uBid` DOUBLE NOT NULL DEFAULT 0 COMMENT 'underlier bid price',
`uAsk` DOUBLE NOT NULL DEFAULT 0 COMMENT 'underlier ask price',
`years` FLOAT NOT NULL DEFAULT 0 COMMENT 'time to expiration (in years)',
`rate` FLOAT NOT NULL DEFAULT 0 COMMENT 'interest rate',
`sdiv` FLOAT NOT NULL DEFAULT 0 COMMENT 'stock dividend (borrow rate)',
`ddiv` FLOAT NOT NULL DEFAULT 0 COMMENT 'present value of discrete dividend stream',
`exType` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'exercise type of the options used to compute this surface',
`modelType` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'option pricing model used for price calcs',
`earnCnt` FLOAT NOT NULL DEFAULT 0 COMMENT 'number of qualifying earnings events prior to expiration [can be fractional] (from StockEarningsCalendar)',
`earnCntAdj` FLOAT NOT NULL DEFAULT 0 COMMENT 'number of qualifying earnings events prior to expiration [adjusted] (from StockEarningsCalendar + LiveSurfaceTerm)',
`axisVolRT` FLOAT NOT NULL DEFAULT 0 COMMENT 'axis volatility x sqrt(years) (used to compute xAxis) [usually 4m atm vol]',
`axisFUPrc` FLOAT NOT NULL DEFAULT 0 COMMENT 'axis FwdUPrc (fwd underlying price used to compute xAxis)',
`moneynessType` ENUM('None','PctStd','LogStd','NormStd') NOT NULL DEFAULT 'None' COMMENT 'moneyness (xAxis) convention',
`underlierMode` ENUM('None','Actual','FrontMonth','UPrcAdj') NOT NULL DEFAULT 'None' COMMENT 'underlier pricing mode (None=use spot/stock market; FrontMonth=use front month future market * uPrcRatio; Actual = use actual underlier future market)',
`priceQuoteType` ENUM('None','Price','Vol') NOT NULL DEFAULT 'None' COMMENT 'Price or Vol',
`atmVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'atm vol (xAxis = 0)',
`atmCen` FLOAT NOT NULL DEFAULT 0 COMMENT 'atm vol (xAxis = 0) (eMove/earnCntAdj censored)',
`atmVolHist` FLOAT NOT NULL DEFAULT 0 COMMENT 'historical realized volatility (includes eMoveHist x earnCntAdj adjustment). Note that this is the default atmVol if no implied markets existed previous day.',
`atmCenHist` FLOAT NOT NULL DEFAULT 0 COMMENT 'censored (earnings events removed) historical realized volatility. Trailing periods is 2x forward time to expiration. From HistoricalVolatility(windowType=hlCen).mv_nnn',
`minAtmVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'minimum estimated atm vol',
`maxAtmVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'maximum estimated atm vol',
`eMove` FLOAT NOT NULL DEFAULT 0 COMMENT 'implied earnings move (from LiveSurfaceTerm)',
`eMoveHist` FLOAT NOT NULL DEFAULT 0 COMMENT 'historical earnings move (avg of trailing 8 moves). From StockEarningsCalendar.eMoveHist',
`atmMove` FLOAT NOT NULL DEFAULT 0 COMMENT 'fixed strike atm move from prior period',
`atmCenMove` FLOAT NOT NULL DEFAULT 0 COMMENT 'fixed strike atm (censored) move from prior period',
`atmPhi` FLOAT NOT NULL DEFAULT 0 COMMENT 'surface phi @ xAxis = 0',
`atmVega` FLOAT NOT NULL DEFAULT 0 COMMENT 'surface vega @ xAxis = 0',
`slope` FLOAT NOT NULL DEFAULT 0 COMMENT 'volatility surface slope (dVol / dXAxis) @ ATM (xAxis=0)',
`varSwapFV` FLOAT NOT NULL DEFAULT 0 COMMENT 'variance swap fair value (estimated by numerical integration over OTM price surface)',
`gridType` ENUM('None','Unused','SRCubic','SRCubic2','BSpline','BSpline2') NOT NULL DEFAULT 'None' COMMENT 'gridType defines D11 - U12 xAxis points + spline type',
`minXAxis` FLOAT NOT NULL DEFAULT 0 COMMENT 'minimum xAxis value; xAxis values to the left extrapolate horizontally',
`maxXAxis` FLOAT NOT NULL DEFAULT 0 COMMENT 'maximum xAxis value; xAxis values to the right extrapolate horizontally',
`minCurvValue` FLOAT NOT NULL DEFAULT 0 COMMENT 'minimum curvature (2nd derivative) of skew curve (can be negative if curve is not strictly convex)',
`minCurvXAxis` FLOAT NOT NULL DEFAULT 0 COMMENT 'xAxis of minimum curvature point',
`maxCurvValue` FLOAT NOT NULL DEFAULT 0 COMMENT 'maximum curvature (2nd derivative) of skew curve',
`maxCurvXAxis` FLOAT NOT NULL DEFAULT 0 COMMENT 'xAxis of maximum curvature point',
`skewMinX` FLOAT NOT NULL DEFAULT 0 COMMENT 'xAxis = (effStrike / effAxisFUPrc - 1.0) / axisVolRT; effStrike = strike * strikeRatio; effAxisFUPrc = axisFUPrc * symbolRatio',
`skewMinY` FLOAT NOT NULL DEFAULT 0 COMMENT 'skewMinX / skewMinY are the skew curve minimum point (usually a positive x value and a negative y value)',
`skewD11` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D11 point (volatility skew curve)',
`skewD10` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D10 point',
`skewD9` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D9 point',
`skewD8` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D8 point',
`skewD7` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D7 point',
`skewD6` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D6 point',
`skewD5` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D5 point',
`skewD4` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D4 point',
`skewD3` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D3 point',
`skewD2` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D2 point',
`skewD1` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ D1 point',
`skewC0` FLOAT NOT NULL DEFAULT 0 COMMENT 'central value (@xAxis = 0) [usually zero]',
`skewU1` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U1 point',
`skewU2` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U2 point',
`skewU3` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U3 point',
`skewU4` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U4 point',
`skewU5` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U5 point',
`skewU6` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U6 point',
`skewU7` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U7 point',
`skewU8` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U8 point',
`skewU9` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U9 point',
`skewU10` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U10 point',
`skewU11` FLOAT NOT NULL DEFAULT 0 COMMENT 'skew @ U11 point',
`sdivD3` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ D3 point',
`sdivD2` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ D2 point',
`sdivD1` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ D1 point',
`sdivU1` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ U1 point',
`sdivU2` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ U2 point',
`sdivU3` FLOAT NOT NULL DEFAULT 0 COMMENT 'sdiv @ U3 point',
`pwidth` FLOAT NOT NULL DEFAULT 0 COMMENT 'minimum mkt premium width',
`vwidth` FLOAT NOT NULL DEFAULT 0 COMMENT 'minimum mkt volatility width',
`cCnt` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'num call strikes',
`pCnt` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'num put strikes',
`cBidMiss` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of call bid violations (surface outside the market)',
`cAskMiss` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of call ask violations (surface outside the market)',
`pBidMiss` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of put bid violations',
`pAskMiss` TINYINT UNSIGNED NOT NULL DEFAULT 0 COMMENT 'number of put ask violations',
`fitAvgErr` FLOAT NOT NULL DEFAULT 0 COMMENT 'surface fit R2 (mid-market values)',
`fitAvgAbsErr` FLOAT NOT NULL DEFAULT 0 COMMENT 'mean square error (mid-market values)',
`fitMaxPrcErr` FLOAT NOT NULL DEFAULT 0 COMMENT 'worst case surface premium violation',
`fitErrXX` FLOAT NOT NULL DEFAULT 0 COMMENT 'okey_xx of the option with the largest fit error in this expiration',
`fitErrCP` ENUM('Call','Put','Pair') NOT NULL DEFAULT 'Call' COMMENT 'okey_cp of the option with the largest fit error in this expiration',
`fitErrDe` FLOAT NOT NULL DEFAULT 0 COMMENT 'delta of fixErrXX',
`fitErrBid` FLOAT NOT NULL DEFAULT 0 COMMENT 'bid of the option with the largest fit error',
`fitErrAsk` FLOAT NOT NULL DEFAULT 0 COMMENT 'ask of the option with the largest fit error',
`fitErrPrc` FLOAT NOT NULL DEFAULT 0 COMMENT 'surface prc of the option with the largest fit error',
`fitErrVol` FLOAT NOT NULL DEFAULT 0 COMMENT 'surface vol of the option with the largest fit error',
`counter` INT NOT NULL DEFAULT 0 COMMENT 'message counter - number of surface fits today',
`skewCounter` INT NOT NULL DEFAULT 0 COMMENT 'skew surface fit counter',
`sdivCounter` INT NOT NULL DEFAULT 0 COMMENT 'sdiv surface fit counter',
`marketSession` ENUM('None','PreMkt','RegMkt','PostMkt','PreRegMkt','RegPostMkt','AllDay') NOT NULL DEFAULT 'None' COMMENT 'market session this surface is from',
`tradeableStatus` ENUM('None','OK','SurfaceErr','LowCCnt','LowPCnt','FitPrcErr','BidAskMiss','LowCounter','DefaultSkew','SessionMiss','BaseErr','SwitchDelay','WideMktV','WideMktP','WideUMkt','UWidthEma','CCntEma','PCntEma','VWidthEma','PWidthEma','Closed') NOT NULL DEFAULT 'None' COMMENT 'indicates whether the surface is currently tradeable or not (all server surface integrity checks pass)',
`surfaceResult` ENUM('None','OK','EOD','Init','Cache','PrevDay','NullExpIdx','NoStrikes','NoBaseCurve','BadBootAtm','NoGoodStrikes','BadAtmVol','Bootstrap','NoUPrc','NoIVols','NoModelPts','ZeroYears','NoSimpleVol','OptMktNotOpn','NoBaseSurface','UPrcOffCnt','SkewKnotCnt','Exception','AxisError','CAskFit1Err','CAskFit2Err','PAskFit1Err','PAskFit2Err','CBidFit1Err','CBidFit2Err','PBidFit1Err','PBidFit2Err','CobsSampleErr','NoPrcFit','NumStrikes','CMidFitErr','PMidFitErr','StrikeCount','VolKnotCnt','InterpError','NoAtmStrike','CobsConvexFitErr','CobsMidFitErr','ProxyError','NoOptExp','Expired','NoUnderlier','NoBaseUnderlier','InvalidUPrc','ZeroUPrc','WideUMkt','StalePrcFit','NoPrcCurves','PriceError','ConvergeFail','NoUPrcRatio','NoSDivValue') NOT NULL DEFAULT 'None',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ekey_tk`,`ekey_yr`,`ekey_mn`,`ekey_dy`,`ekey_at`,`ekey_ts`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='';

SELECT TABLE EXAMPLE QUERY

SELECT
`ekey_at`,
`ekey_ts`,
`ekey_tk`,
`ekey_yr`,
`ekey_mn`,
`ekey_dy`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`fkey_at`,
`fkey_ts`,
`fkey_tk`,
`fkey_yr`,
`fkey_mn`,
`fkey_dy`,
`uBid`,
`uAsk`,
`years`,
`rate`,
`sdiv`,
`ddiv`,
`exType`,
`modelType`,
`earnCnt`,
`earnCntAdj`,
`axisVolRT`,
`axisFUPrc`,
`moneynessType`,
`underlierMode`,
`priceQuoteType`,
`atmVol`,
`atmCen`,
`atmVolHist`,
`atmCenHist`,
`minAtmVol`,
`maxAtmVol`,
`eMove`,
`eMoveHist`,
`atmMove`,
`atmCenMove`,
`atmPhi`,
`atmVega`,
`slope`,
`varSwapFV`,
`gridType`,
`minXAxis`,
`maxXAxis`,
`minCurvValue`,
`minCurvXAxis`,
`maxCurvValue`,
`maxCurvXAxis`,
`skewMinX`,
`skewMinY`,
`skewD11`,
`skewD10`,
`skewD9`,
`skewD8`,
`skewD7`,
`skewD6`,
`skewD5`,
`skewD4`,
`skewD3`,
`skewD2`,
`skewD1`,
`skewC0`,
`skewU1`,
`skewU2`,
`skewU3`,
`skewU4`,
`skewU5`,
`skewU6`,
`skewU7`,
`skewU8`,
`skewU9`,
`skewU10`,
`skewU11`,
`sdivD3`,
`sdivD2`,
`sdivD1`,
`sdivU1`,
`sdivU2`,
`sdivU3`,
`pwidth`,
`vwidth`,
`cCnt`,
`pCnt`,
`cBidMiss`,
`cAskMiss`,
`pBidMiss`,
`pAskMiss`,
`fitAvgErr`,
`fitAvgAbsErr`,
`fitMaxPrcErr`,
`fitErrXX`,
`fitErrCP`,
`fitErrDe`,
`fitErrBid`,
`fitErrAsk`,
`fitErrPrc`,
`fitErrVol`,
`counter`,
`skewCounter`,
`sdivCounter`,
`marketSession`,
`tradeableStatus`,
`surfaceResult`,
`timestamp`
FROM `SRAnalytics`.`MsgLiveSurfaceAtm`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ekey_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','ESX','ANY','CXE','DXE','NXAM','NXBR','NXDUB','NXLS','NXLDN','NXML','NXMLT','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ekey_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ekey_tk` = 'Example_ekey_tk'
AND
/* Replace with a SMALLINT UNSIGNED */
`ekey_yr` = 123
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_mn` = 1
AND
/* Replace with a TINYINT UNSIGNED */
`ekey_dy` = 1;

Doc Columns Query

SELECT * FROM SRAnalytics.doccolumns WHERE TABLE_NAME='LiveSurfaceAtm' ORDER BY ordinal_position ASC;